﻿

using System;

namespace QLua;


/// <summary>
/// 标记类将被导出到Lua
/// </summary>
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class LuaExportAttribute:Attribute
{
	
	
	
}

// 标记方法将被导出到Lua
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public class LuaMethodAttribute : Attribute
{
	public string Name { get; set; }

	public LuaMethodAttribute(string name = null)
	{
		Name = name;
	}
}